AddMonitor
TheAddMonitor
method adds the specified dispatch module, which is a monitor for the specified event type, to the dispatch module dictionary.
void AddMonitor (in ODEventType eventType, in ODDispatchModule dispatchModule);
eventType
- A platform-specific event code that specifies the type of event to be handled by the new dispatch module. On the Mac OS platform, the event code is defined as an unsigned 16-bit value.
dispatchModule
- A reference to a dispatch module to be added.
DISCUSSION
Your part editor calls this method to install a custom dispatch module as a monitor for the specified event type. This method is not called by part editors under normal circumstances.EXCEPTIONS
kODErrIllegalNullDispatchModuleInput
- The
dispatchModule
parameter is null.SEE ALSO
TheODEventType
type (page 892).
TheODDispatcher::RemoveMonitor
method (page 122).
TheODDispatchModule
class (page 127).
"Using a Dispatch Module as a Monitor" on page 448 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help